# Python code to learn about user's age
age = int(input("Please enter your age: "))  # 获取用户输入

if age >= 18:  # 判断是否成年
    print(f"You are {age} years old and you have reached adulthood.")
else:
    print(f"You are only {age} years old, so you're not yet an adult.")

# 使用Python进行代码学习的好处包括：
# - 易于理解的语法减少了学习曲线
# - 强大的库支持如NumPy、Pandas等，适合数据分析和科学计算
# - 可读性强，便于团队协作1